@{
    string type = Model.Type.ToString().ToLowerInvariant();
}
<div class="alert alert-dismissible fade show message-@type" role="alert">
    @Model.Message
    <button type="button" class="close" data-dismiss="alert" aria-label="Close">
        <span aria-hidden="true">&times;</span>
    </button>
</div>
